This page last changed on Mar 20, 2009 by scytacki.

If there are certain comments in a jnlp, then it won't properly load.

Here is an example of a comment that caused issues.

 
...
 </security>
<!-- generated by org.concord.JnlpServletCacher -->
<!-- original url: http://jnlp.concord.org/dev/org/concord/maven-jnlp/all-otrunk-snapshot/all-otrunk-snapshot.jnlp -->
  <resources>
...

The first time this jnlp was loaded the following error was thrown:

Exception in thread "javawsApplicationMain" java.lang.NullPointerException
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:441)
        at java.lang.Runtime.exec(Runtime.java:591)
        at java.lang.Runtime.exec(Runtime.java:464)
        at com.sun.javaws.Launcher.execProgram(Launcher.java:823)
        at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:498)
        at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
        at com.sun.javaws.Launcher.run(Launcher.java:165)
        at java.lang.Thread.run(Thread.java:613)

This occured on a 10.4 mac running latest Java:

java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-275)
Java HotSpot(TM) Client VM (build 1.5.0_16-132, mixed mode, sharing)
Document generated by Confluence on Jan 27, 2014 16:56